<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style>
        #hd,#ft{
            background-color: #00aaff;
        }
        .sub{
            float:left;
            width:190px;
            margin-left:-100%;
            background-color: yellow;
        }
        .main{
            float:left;
            width:100%;
            background-color: green;
        }
        .main-wrap{
            margin: 0 230px 0 190px;
            background-color: red;
        }
        .extra{
            float:left;
            width:230px;
            margin-left: -230px;
            background-color: blue;
        }
    </style>
</head>
<body>



<div id="page">
    <div id="hd">
        <p>Header</p>
    </div>
    <div id="bd">
        <div class="main">
            <div class="main-wrap">
                <p>Main</p>
            </div>
        </div>
        <div class="sub">
            <p>Sub</p>
        </div>
        <div class="extra">
            <p>Extra</p>
        </div>
    </div>
    <div id="ft">
        <p>Footer</p>
    </div>
</body>
</html>